package com.muyu.cloud.commodity.domain.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 分类修改请求
 *
 * @author <a href="mailto:602048165@qq.com">60204</a>
 * @version 1.0
 * @description: 分类修改请求
 * @date 2025/9/18 9:35
 */
@Data
public class CategoryUpdDateReq {
    @NotNull(message = "分类ID不能为空")
    private Long id;

    @NotBlank(message = "分类名称不能为空")
    private String categoryName;
    private Long parentId = 0L;
    private String categoryIcon;
    @NotNull(message = "排序不能为空")
    private Integer sort;
    private Integer status = 1;
}
